//
// Created by LiuYou on 2021/8/7.
//

#ifndef MEDIALIB_HPP
#define MEDIALIB_HPP


#include "../include/NetRadioType.hpp"


namespace NetRadio {
    namespace Server {
        namespace MediaLib {
            struct MediaLibEntry {
                ChannelId channelId;
                char* description;

            };

            int getChannelList(struct MediaLibEntry**, int*);

            int freeChannelList(struct MediaLibEntry*);

            int readChannelList(ChannelId, void*, std::size_t);
        }
    }

}


#endif //MEDIALIB_HPP
